package org.poem.handler;

import org.poem.common.response.CommonResult;
import org.poem.handler.impl.FeignOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author poem
 */
@RequestMapping("/v1/order")
@RestController
public class FeignOrderController {


    @Autowired
    private FeignOrderService feignOrderService;



    @GetMapping("/getFeignInterface")
    public CommonResult<String> getFeignInterface(){
        return feignOrderService.getFeignInterface();
    }

}
